﻿using System;
using IiiToolkitMain.Common;
using IiiToolkitMain.Common.Dto;

namespace IiiToolkitMain.Controls
{
    public class VideoItemPlayEventArgs : EventArgs
    {
        public VideoItemPlayEventArgs(CameraItem cameraItem)
        {
            CameraItem = cameraItem;
        }

        public CameraItem CameraItem { get;private set; }
    }
    public delegate void VideoItemPlayHandle(object sender, VideoItemPlayEventArgs e);



    public class VideoPlayerEventArgs : EventArgs
    {
        public VideoPlayerEventArgs()
        {
        }
    }
    public delegate void VideoPlayerSeleted(object sender, EventArgs e);
    public delegate void VideoPlayerStatusChanged(object sender, VideoPlayerEventArgs e);
    public delegate void VideoPlayerLevelChanged(object sender, VideoPlayerEventArgs e);

    
    public class VideoPtzEventArgs : EventArgs
    {
        public HkSDK.PTZCommand Command { get; private set; }
        public HkSDK.PTZAction Action { get; private set; }
        public VideoPtzEventArgs(HkSDK.PTZCommand type, HkSDK.PTZAction action)
        {
            Command = type;
            Action = action;
        }
    }
    public delegate void VideoPtzClick(object sender, VideoPtzEventArgs e);

}